﻿<%@ Page Language="C#" Title="医院已确认" AutoEventWireup="true" MasterPageFile="~/Master/MasterPage_New.master"
    CodeBehind="HospitalAmountSubsidyed.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.ReportHospital.HospitalAmountSubsidyed" %>

<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="~/Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<%@ Register Src="../../Common/SortControls.ascx" TagName="SortControls" TagPrefix="uc3" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="tabnav">
        <ul>
             <li>
                <a href="hospitalAmountSubsidy.aspx" >未发放补助</a>
            </li>
              <li> <a href="hospitalPending.aspx" >未提交审核</a></li>
              <li > <a href="hospitalUnPending.aspx" >待审核补助</a></li>
              <li > <a href="hospitalPended.aspx" >已审核补助</a></li>
            <li  class="active"> <a href="javascript:void(0)" >医院已确认</a></li>
            <%-- <li> <a href="hospitalAmountSubsidyStatistics.aspx" >已发补助统计</a></li>--%>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                <asp:Label ID="labArea" runat="server" Text="所在地区："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlCity" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td align="right">
                                医院名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtHospitalname" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                结算单名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtSubsidyName" MaxLength="50" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="labPlanTime" runat="server" Text="处方单时间："></asp:Label>
                                &nbsp;
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtStratTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"
                                    Width="63px"></asp:TextBox>-<asp:TextBox ID="txtEndTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"
                                        Width="63px"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <asp:Button ID="btnQuery" runat="server" Text="查询" CssClass="searchbtn" SkinID="search"
                        ToolTip="点击查询符合条件的数据" OnClick="btnQuery_Click" TabIndex="99" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwDetail" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无有效的信息！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%# Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="结算单名称">
                <ItemTemplate>
                    <a href="#" onclick="javascript:showPopWin('查看处方单','SubsidyDetailShow1.aspx?id=<%# Eval("SubsidyID")%>&id1=1', 900,450, null,true,true)">
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("SubsidyName")%>'></asp:Label></a>
                    <%-- <asp:LinkButton ID="lbnDetail" runat="server" CommandName="SHospitalName" CommandArgument='<%# Eval("SubsidyID")%>'><%# Eval("SHospitalName")%></asp:LinkButton>--%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="医院名称" DataField="SHospitalName" />
            <asp:BoundField DataField="SubsidyAmount" HeaderText="本次补助金额" ReadOnly="True" />
            <asp:BoundField DataField="Amount" HeaderText="应补助金额" ReadOnly="True" />
            <asp:BoundField DataField="PSbsidyAmount" HeaderText="已补助金额" ReadOnly="True" />
            <asp:BoundField DataField="SsumAmount" HeaderText="结算单总金额" ReadOnly="True" />
            <asp:TemplateField HeaderText="备注">
                <ItemTemplate>
                   <%#Eval("Remark")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField>
                <HeaderTemplate>
                    <input id="addTable_chkAll" name="chkAll" type="checkbox" onclick="SelectAllCheckboxes(this,'<%=gvwDetail.ClientID %>','addTable_chkAll'); " />
                </HeaderTemplate>
                <ItemTemplate>
                    <input type="checkbox" name="checkbox1" id="checkbox1" value='<%#Eval("SubsidyID")%>'
                        onclick="chkChecked(this,'<%=gvwDetail.ClientID %>','addTable_chkAll');" />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>提示:<span>&nbsp; </span></li>
        </ul>
    </div>
</asp:Content>
